package com.designpattern.softwaredesignpatternstudy.pattern.adapter;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LitchiShell
 * @description:
 * @create 2022-02-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Banner {

    private String string;

    public void showWithParen() {
        System.out.println("(" + string + ")");
    }

    public void showWithAster() {
        System.out.println("*" + string + "*");
    }
}
